/*     */ package cn.j2e.portal.domain;
/*     */ 
/*     */ import java.io.Serializable;
/*     */ import java.sql.Timestamp;
/*     */ import java.util.Set;
/*     */ 
/*     */ public class User
/*     */   implements Serializable
/*     */ {
/*     */   private static final long serialVersionUID = 7104483891019271841L;
/*     */   private String pkid;
/*     */   private String loginName;
/*     */   private String password;
/*     */   private String realName;
/*     */   private Integer sex;
/*     */   private String mobile;
/*     */   private String phone;
/*     */   private String eMail;
/*     */   private String nickName;
/*     */   private Timestamp createTime;
/*     */   private Timestamp updateTime;
/*     */   private Timestamp loginTime;
/*     */   private Integer delStatus;
/*     */   private Timestamp userVersion;
/*     */   private String userAdds;
/*     */   private String birthday;
/*     */   private Integer userType;
/*     */   private Integer loginType;
/*     */   private String userCode;
/*     */   private Set<Role> roles;
/*     */   private Set<Group> groups;
/*     */   private String areaTree;
/*     */ 
/*     */   public Set<Group> getGroups()
/*     */   {
/*  75 */     return this.groups;
/*     */   }
/*     */ 
/*     */   public void setGroups(Set<Group> groups)
/*     */   {
/*  80 */     this.groups = groups;
/*     */   }
/*     */ 
/*     */   public String getPkid() {
/*  84 */     return this.pkid;
/*     */   }
/*     */ 
/*     */   public void setPkid(String pkid) {
/*  88 */     this.pkid = pkid;
/*     */   }
/*     */ 
/*     */   public String getLoginName() {
/*  92 */     return this.loginName;
/*     */   }
/*     */ 
/*     */   public void setLoginName(String loginName) {
/*  96 */     this.loginName = loginName;
/*     */   }
/*     */ 
/*     */   public String getPassword() {
/* 100 */     return this.password;
/*     */   }
/*     */ 
/*     */   public void setPassword(String password) {
/* 104 */     this.password = password;
/*     */   }
/*     */ 
/*     */   public String getRealName() {
/* 108 */     return this.realName;
/*     */   }
/*     */ 
/*     */   public void setRealName(String realName) {
/* 112 */     this.realName = realName;
/*     */   }
/*     */ 
/*     */   public Integer getSex() {
/* 116 */     return this.sex;
/*     */   }
/*     */ 
/*     */   public void setSex(Integer sex) {
/* 120 */     this.sex = sex;
/*     */   }
/*     */ 
/*     */   public String getMobile() {
/* 124 */     return this.mobile;
/*     */   }
/*     */ 
/*     */   public void setMobile(String mobile) {
/* 128 */     this.mobile = mobile;
/*     */   }
/*     */ 
/*     */   public String getPhone() {
/* 132 */     return this.phone;
/*     */   }
/*     */ 
/*     */   public void setPhone(String phone) {
/* 136 */     this.phone = phone;
/*     */   }
/*     */ 
/*     */   public String geteMail() {
/* 140 */     return this.eMail;
/*     */   }
/*     */ 
/*     */   public void seteMail(String eMail) {
/* 144 */     this.eMail = eMail;
/*     */   }
/*     */ 
/*     */   public String getNickName() {
/* 148 */     return this.nickName;
/*     */   }
/*     */ 
/*     */   public void setNickName(String nickName) {
/* 152 */     this.nickName = nickName;
/*     */   }
/*     */ 
/*     */   public Timestamp getCreateTime() {
/* 156 */     return this.createTime;
/*     */   }
/*     */ 
/*     */   public void setCreateTime(Timestamp createTime) {
/* 160 */     this.createTime = createTime;
/*     */   }
/*     */ 
/*     */   public Timestamp getUpdateTime() {
/* 164 */     return this.updateTime;
/*     */   }
/*     */ 
/*     */   public void setUpdateTime(Timestamp updateTime) {
/* 168 */     this.updateTime = updateTime;
/*     */   }
/*     */ 
/*     */   public Timestamp getLoginTime() {
/* 172 */     return this.loginTime;
/*     */   }
/*     */ 
/*     */   public void setLoginTime(Timestamp loginTime) {
/* 176 */     this.loginTime = loginTime;
/*     */   }
/*     */ 
/*     */   public Integer getDelStatus() {
/* 180 */     return this.delStatus;
/*     */   }
/*     */ 
/*     */   public void setDelStatus(Integer delStatus) {
/* 184 */     this.delStatus = delStatus;
/*     */   }
/*     */ 
/*     */   public Timestamp getUserVersion() {
/* 188 */     return this.userVersion;
/*     */   }
/*     */ 
/*     */   public void setUserVersion(Timestamp userVersion) {
/* 192 */     this.userVersion = userVersion;
/*     */   }
/*     */ 
/*     */   public String getUserAdds() {
/* 196 */     return this.userAdds;
/*     */   }
/*     */ 
/*     */   public void setUserAdds(String userAdds) {
/* 200 */     this.userAdds = userAdds;
/*     */   }
/*     */ 
/*     */   public String getBirthday() {
/* 204 */     return this.birthday;
/*     */   }
/*     */ 
/*     */   public void setBirthday(String birthday) {
/* 208 */     this.birthday = birthday;
/*     */   }
/*     */ 
/*     */   public Set<Role> getRoles() {
/* 212 */     return this.roles;
/*     */   }
/*     */ 
/*     */   public void setRoles(Set<Role> roles) {
/* 216 */     this.roles = roles;
/*     */   }
/*     */ 
/*     */   public Integer getUserType() {
/* 220 */     return this.userType;
/*     */   }
/*     */ 
/*     */   public void setUserType(Integer userType) {
/* 224 */     this.userType = userType;
/*     */   }
/*     */ 
/*     */   public Integer getLoginType() {
/* 228 */     return this.loginType;
/*     */   }
/*     */ 
/*     */   public void setLoginType(Integer loginType) {
/* 232 */     this.loginType = loginType;
/*     */   }
/*     */ 
/*     */   public String getUserCode() {
/* 236 */     return this.userCode;
/*     */   }
/*     */ 
/*     */   public void setUserCode(String userCode) {
/* 240 */     this.userCode = userCode;
/*     */   }
/*     */ 
/*     */   public boolean equals(Object o)
/*     */   {
/* 245 */     if (this == o) return true;
/* 246 */     if (!(o instanceof User)) return false;
/*     */ 
/* 248 */     User user = (User)o;
/*     */ 
/* 250 */     if (this.birthday != null ? !this.birthday.equals(user.birthday) : user.birthday != null) return false;
/* 251 */     if (this.createTime != null ? !this.createTime.equals(user.createTime) : user.createTime != null) return false;
/* 252 */     if (this.delStatus != null ? !this.delStatus.equals(user.delStatus) : user.delStatus != null) return false;
/* 253 */     if (this.eMail != null ? !this.eMail.equals(user.eMail) : user.eMail != null) return false;
/* 254 */     if (this.loginName != null ? !this.loginName.equals(user.loginName) : user.loginName != null) return false;
/* 255 */     if (this.loginTime != null ? !this.loginTime.equals(user.loginTime) : user.loginTime != null) return false;
/* 256 */     if (this.mobile != null ? !this.mobile.equals(user.mobile) : user.mobile != null) return false;
/* 257 */     if (this.nickName != null ? !this.nickName.equals(user.nickName) : user.nickName != null) return false;
/* 258 */     if (this.password != null ? !this.password.equals(user.password) : user.password != null) return false;
/* 259 */     if (this.phone != null ? !this.phone.equals(user.phone) : user.phone != null) return false;
/* 260 */     if (this.pkid != null ? !this.pkid.equals(user.pkid) : user.pkid != null) return false;
/* 261 */     if (this.realName != null ? !this.realName.equals(user.realName) : user.realName != null) return false;
/* 262 */     if (this.sex != null ? !this.sex.equals(user.sex) : user.sex != null) return false;
/* 263 */     if (this.updateTime != null ? !this.updateTime.equals(user.updateTime) : user.updateTime != null) return false;
/* 264 */     if (this.userAdds != null ? !this.userAdds.equals(user.userAdds) : user.userAdds != null) return false;
/* 265 */     if (this.userVersion != null ? !this.userVersion.equals(user.userVersion) : user.userVersion != null) return false;
/* 266 */     if (this.userType != null ? !this.userType.equals(user.userType) : user.userType != null) return false;
/* 267 */     if (this.loginType != null ? !this.loginType.equals(user.loginType) : user.loginType != null) return false;
/* 268 */     if (this.userCode != null ? !this.userCode.equals(user.userCode) : user.userCode != null) return false;
/*     */ 
/* 270 */     return true;
/*     */   }
/*     */ 
/*     */   public int hashCode()
/*     */   {
/* 275 */     int result = this.pkid != null ? this.pkid.hashCode() : 0;
/* 276 */     result = 31 * result + (this.loginName != null ? this.loginName.hashCode() : 0);
/* 277 */     result = 31 * result + (this.password != null ? this.password.hashCode() : 0);
/* 278 */     result = 31 * result + (this.realName != null ? this.realName.hashCode() : 0);
/* 279 */     result = 31 * result + (this.sex != null ? this.sex.hashCode() : 0);
/* 280 */     result = 31 * result + (this.mobile != null ? this.mobile.hashCode() : 0);
/* 281 */     result = 31 * result + (this.phone != null ? this.phone.hashCode() : 0);
/* 282 */     result = 31 * result + (this.eMail != null ? this.eMail.hashCode() : 0);
/* 283 */     result = 31 * result + (this.nickName != null ? this.nickName.hashCode() : 0);
/* 284 */     result = 31 * result + (this.createTime != null ? this.createTime.hashCode() : 0);
/* 285 */     result = 31 * result + (this.updateTime != null ? this.updateTime.hashCode() : 0);
/* 286 */     result = 31 * result + (this.loginTime != null ? this.loginTime.hashCode() : 0);
/* 287 */     result = 31 * result + (this.delStatus != null ? this.delStatus.hashCode() : 0);
/* 288 */     result = 31 * result + (this.userVersion != null ? this.userVersion.hashCode() : 0);
/* 289 */     result = 31 * result + (this.userAdds != null ? this.userAdds.hashCode() : 0);
/* 290 */     result = 31 * result + (this.birthday != null ? this.birthday.hashCode() : 0);
/* 291 */     result = 31 * result + (this.userType != null ? this.userType.hashCode() : 0);
/* 292 */     result = 31 * result + (this.loginType != null ? this.loginType.hashCode() : 0);
/* 293 */     result = 31 * result + (this.userCode != null ? this.userCode.hashCode() : 0);
/* 294 */     return result;
/*     */   }
/*     */ 
/*     */   public String getAreaTree() {
/* 298 */     return this.areaTree;
/*     */   }
/*     */ 
/*     */   public void setAreaTree(String areaTree) {
/* 302 */     this.areaTree = areaTree;
/*     */   }
/*     */ 
/*     */   public static enum LoginType
/*     */   {
/*  36 */     front(Integer.valueOf(1), "前端登陆类型"), all(Integer.valueOf(2), "前端、后端登陆用户");
/*     */ 
/*     */     private Integer key;
/*     */     private String value;
/*     */ 
/*  40 */     private LoginType(Integer key, String value) { this.key = key;
/*  41 */       this.value = value; }
/*     */ 
/*     */     public Integer getKey() {
/*  44 */       return this.key;
/*     */     }
/*     */     public String getValue() {
/*  47 */       return this.value;
/*     */     }
/*     */   }
/*     */ 
/*     */   public static enum UserType
/*     */   {
/*  20 */     REGISTER(Integer.valueOf(1), "注册用户类型"), TEACHERADD(Integer.valueOf(2), "教师添加类型"), STUDENT(Integer.valueOf(3), "学员类型");
/*     */ 
/*     */     private Integer key;
/*     */     private String value;
/*     */ 
/*  24 */     private UserType(Integer key, String value) { this.key = key;
/*  25 */       this.value = value; }
/*     */ 
/*     */     public Integer getKey() {
/*  28 */       return this.key;
/*     */     }
/*     */     public String getValue() {
/*  31 */       return this.value;
/*     */     }
/*     */   }
/*     */ }

/* Location:           C:\Users\Administrator\.m2\repository\cn\ruida\sms\portal\domain\1.0.0-SNAPSHOT\domain-1.0.0-20140701.095003-108.jar
 * Qualified Name:     cn.j2e.portal.domain.User
 * JD-Core Version:    0.6.2
 */